﻿<%@ Page Title="TransactionDetails" Language="C#" MasterPageFile="~/Admin/Membership.master" AutoEventWireup="true"
    CodeFile="TransactionDetails.aspx.cs" Inherits="Admin_TransactionDetails" %>

<%@ Register Src="~/UserControl/Error.ascx" TagName="PayPal" TagPrefix="uc4" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:PlaceHolder runat="server" ID="TransactionDetailsPlaceHolder">
        <center>
            <span id="apiheader">Transaction Details</span>
            <br>
            <br>
            <table>
                <tr>
                    <td>
                        Payer:
                    </td>
                    <td>
                        <asp:Literal ID="PayerLiteral" runat="server" Text="<%#GetTransactionDetailsResponse.PaymentTransactionDetails.PayerInfo.Payer%>">
                        </asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td>
                        Payer ID:
                    </td>
                    <td>
                        <asp:Literal ID="PayerIDLiteral" runat="server" Text="<%#GetTransactionDetailsResponse.PaymentTransactionDetails.PayerInfo.PayerID%>">
                        </asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td>
                        First Name:
                    </td>
                    <td>
                        <asp:Literal ID="FirstNameLiteral" runat="server" Text="<%#GetTransactionDetailsResponse.PaymentTransactionDetails.PayerInfo.PayerName.FirstName%>">
                        </asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td>
                        Last Name:
                    </td>
                    <td>
                        <asp:Literal ID="LastNameLiteral" runat="server" Text="<%#GetTransactionDetailsResponse.PaymentTransactionDetails.PayerInfo.PayerName.LastName%>">
                        </asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td>
                        Transaction ID:
                    </td>
                    <td>
                        <asp:Literal ID="TransactionIDLiteral" runat="server" Text="<%#GetTransactionDetailsResponse.PaymentTransactionDetails.PaymentInfo.TransactionID%>">
                        </asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td>
                        Parent Transaction ID (if any):
                    </td>
                    <td>
                        <asp:Literal ID="ParentTransactionIDLiteral" runat="server" Text="<%#GetTransactionDetailsResponse.PaymentTransactionDetails.PaymentInfo.ParentTransactionID%>">
                        </asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td>
                        Gross Amount:
                    </td>
                    <td>
                        <asp:Literal ID="CurrencyLiteral" runat="server" Text="<%#GetTransactionDetailsResponse.PaymentTransactionDetails.PaymentInfo.GrossAmount.currencyID%>">
                        </asp:Literal>
                        <asp:Literal ID="GrossAmountLiteral" runat="server" Text="<%#GetTransactionDetailsResponse.PaymentTransactionDetails.PaymentInfo.GrossAmount.Value%>">
                        </asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td>
                        Payment Status:
                    </td>
                    <td>
                        <asp:Literal ID="PaymentStatusLiteral" runat="server" Text="<%#GetTransactionDetailsResponse.PaymentTransactionDetails.PaymentInfo.PaymentStatus%>">
                        </asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td>
                        Pending Reason:
                    </td>
                    <td>
                        <asp:Literal ID="PendingReasonLiteral" runat="server" Text="<%#GetTransactionDetailsResponse.PaymentTransactionDetails.PaymentInfo.PendingReason%>">
                        </asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td>
                        Protection Eligibility:
                    </td>
                    <td>
                        <asp:Literal ID="ProtectionEligibilityLiteral" runat="server" Text="<%#GetTransactionDetailsResponse.PaymentTransactionDetails.PaymentInfo.ProtectionEligibility%>">
                        </asp:Literal>
                    </td>
                </tr>
            </table>
        </center></asp:PlaceHolder>
        <br>
        <br>       
    <uc4:PayPal ID="Errors" runat="server" />
</asp:Content>
